<extend file='theme/article/master.html'/>
<link rel="stylesheet" href="theme/article/css/index.css"/>
<block name="title">{{$article['title']}}-HDCMS免费的微信/移动/桌面开发工具</block>
<block name="content">
    <link rel="stylesheet" href="theme/article/css/article.css">
    <div class="article ">
        <div class="left col-sm-8 ">
            <h1>{{$article['title']}}</h1>
            <div class="times">
                创建时间: {{date('Y-m-d',$article['createtime'])}}
                <div class="bdsharebuttonbox">
                    <a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_weixin" data-cmd="weixin"></a>
                </div>
                <script>window._bd_share_config = {"common": {"bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdPic": "", "bdStyle": "0", "bdSize": "16"}, "share": {}, "image": {"viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "分享到：", "viewSize": "16"}, "selectShare": {"bdContainerClass": null, "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"]}};
                with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
            </div>
            <div class="content">
                {{$article['content']}}
            </div>
        </div>
        <div class="right col-sm-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">相关文章</h3>
                </div>
                <div class="panel-body">
                    <ul class="list-group">
                        <foreach from="$relation" value="$v">
                            <li class="list-group-item"> <a href="{{u('system/article/show',['id'=>$v['id']])}}">{{$v['title']}}</a></li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</block>
